package org.shagin.jfin.data.model;


/**
 * The Class AbstractBudgetItem.
 */
public abstract class AbstractBudgetItem extends IdObject {

    protected IBudget budget;
    
    /**
     * Instantiates a new abstract budget item.
     *
     * @param id the id
     */
    public AbstractBudgetItem(String id) {
        super(id);
    }

    /**
     * Gets the budget.
     *
     * @return the budget
     */
    public IBudget getBudget() {
        return budget;
    }

    /**
     * Sets the budget.
     *
     * @param budget the new budget
     */
    protected void setBudget(IBudget budget) {
        this.budget = budget;
    }

}
